﻿using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class SysFormauditrecordTable : TableInfo
	{
		public const string C_TABLENAME = "Sys_Formauditrecord"; 

		public const string C_FORMAUDITRECORDID = "FORMAUDITRECORDID";
		public const string C_BILLTYPE = "BILLTYPE";
		public const string C_BILLID = "BILLID";
		public const string C_ORICHECKUSER = "ORICHECKUSER";
		public const string C_ORDERNUM = "ORDERNUM";
		public const string C_CHECKDATE = "CHECKDATE";
		public const string C_ISSUCCESS = "ISSUCCESS";
		public const string C_FAILURESEASON = "FAILURESEASON";
		public const string C_AUTALCHECKUSER = "AUTALCHECKUSER";
				
		public SysFormauditrecordTable()
		{
			_tableName ="Sys_Formauditrecord";
		}

		protected static SysFormauditrecordTable _current;

		public static SysFormauditrecordTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new SysFormauditrecordTable();

			_current.Add(C_FORMAUDITRECORDID, new ColumnInfo(C_FORMAUDITRECORDID, "", true, typeof(Decimal?)));
			_current.Add(C_BILLTYPE, new ColumnInfo(C_BILLTYPE, "", false, typeof(String), 50));
			_current.Add(C_BILLID, new ColumnInfo(C_BILLID, "", false, typeof(String), 50));
			_current.Add(C_ORICHECKUSER, new ColumnInfo(C_ORICHECKUSER, "", false, typeof(String), 50));
			_current.Add(C_ORDERNUM, new ColumnInfo(C_ORDERNUM, "", false, typeof(Int32?)));
			_current.Add(C_CHECKDATE, new ColumnInfo(C_CHECKDATE, "", false, typeof(DateTime?)));
			_current.Add(C_ISSUCCESS, new ColumnInfo(C_ISSUCCESS, "", false, typeof(String), 1));
			_current.Add(C_FAILURESEASON, new ColumnInfo(C_FAILURESEASON, "", false, typeof(String), 200));
			_current.Add(C_AUTALCHECKUSER, new ColumnInfo(C_AUTALCHECKUSER, "", false, typeof(String), 50));
						
		}

		public ColumnInfo FORMAUDITRECORDID
		{
			get { return this[C_FORMAUDITRECORDID];}
		}

		public ColumnInfo BILLTYPE
		{
			get { return this[C_BILLTYPE];}
		}

		public ColumnInfo BILLID
		{
			get { return this[C_BILLID];}
		}

		public ColumnInfo ORICHECKUSER
		{
			get { return this[C_ORICHECKUSER];}
		}

		public ColumnInfo ORDERNUM
		{
			get { return this[C_ORDERNUM];}
		}

		public ColumnInfo CHECKDATE
		{
			get { return this[C_CHECKDATE];}
		}

		public ColumnInfo ISSUCCESS
		{
			get { return this[C_ISSUCCESS];}
		}

		public ColumnInfo FAILURESEASON
		{
			get { return this[C_FAILURESEASON];}
		}

		public ColumnInfo AUTALCHECKUSER
		{
			get { return this[C_AUTALCHECKUSER];}
		}

		
	}
}


